package com.hnxxxy.workshop.service;


import com.hnxxxy.workshop.request.WorkerPageRequest;
import com.hnxxxy.workshop.request.WorkerRequest;
import com.hnxxxy.workshop.request.WorkshopRequest;
import com.hnxxxy.workshop.vo.WorkerVO;

import java.util.Map;

/**
 * <p>
 * 工人 服务类
 * </p>
 *
 * @author zqh
 * @since 2022-05-09
 */
public interface WorkerService {

    void add(WorkerRequest workerRequest);

    void deleteById(int id);

    void update(WorkerRequest workerRequest);

    WorkerVO findByIdWorker(int id);

    Map<String, Object> page(WorkerPageRequest workerPageRequest);
}
